<%-- 
    Document   : test
    Created on : 15.12.2011, 15:09:28
    Author     : Дима
--%>

<%@page import="java.util.Enumeration"%>
<%@page import="encaps.security.RoleManager"%>
<%@page import="java.util.Collection"%>
<%@page import="java.io.*"%>
<%@page import="org.jdom.Element"%>
<%@page import="encaps.entities.*"%>
<%@page import="encaps.utils.*"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            Enumeration<String> e = request.getParameterNames();
            while(e.hasMoreElements()) {
                String name = e.nextElement();
                //System.out.println(name+" = "+request.getParameter(name));
            }
            //System.out.println("\n----\n");
        %>
        <h1>Hello World!</h1>
        <form action="test.jsp">
            <input type="text" name="val"/>
            <input type="text" name="val"/>
            <select name="selVal" multiple="true" size="5">
                <option>val 1</option>
                <option>val 2</option>
                <option>val 3</option>
                <option>val 4</option>
                <option>val 5</option>
                <option>val 6</option>
                <option>val 7</option>
            </select>
            
            <button name="btn" value="send">click me!</button>
        </form>
        <span>Some text</span>
    </body>
</html>
